﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HynuIOTA.Entity.ViewEntitys
{
    public class PagingViewModel
    {
        /// <summary>
        /// 页面index
        /// </summary>
        [Required] [Range(0, int.MaxValue)] public int page { get; set; } = -1;

        /// <summary>
        /// 页面大小
        /// </summary>
        [Required] [Range(0, int.MaxValue)] public int rows { get; set; } = -1;
    }
}
